package com.yunji.storage.vo;

import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.vo
 * @Title: StorageRecordsVO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-17 14:07:04      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StorageRecordsVO extends BaseDTO {

    @ApiModelProperty("记录单ID")
    private Long recordId;

    @ApiModelProperty("出入库单据ID")
    private Long ticketId;

    @ApiModelProperty("所属单位ID")
    private Long belongId;

    @ApiModelProperty("出入库单据编码")
    @Excel(name = "出入库单据编码", width = 15)
    private String ticketCode;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("业务编码")
    @Excel(name = "业务编码", width = 15)
    private String businessCode;

    @ApiModelProperty("操作类型 1-入库 2-出库")
    @Excel(name = "操作类型 1-入库 2-出库")
    private Integer storageType;

    @ApiModelProperty("商品ID")
    private Long productId;

    @ApiModelProperty("商品sku")
    @Excel(name = "商品sku", width = 15)
    private String productSku;

    @ApiModelProperty("商品名称")
    @Excel(name = "商品名称", width = 15)
    private String productName;

    @ApiModelProperty("商品单位ID")
    private Long unitId;

    @ApiModelProperty("商品单位名称")
    @Excel(name = "商品单位名称", width = 15)
    private String unitName;

    @ApiModelProperty("预计出/入库量")
    @Excel(name = "预计出/入库量", width = 15)
    private BigDecimal expectQuantity;

    @ApiModelProperty("实际出/入库量")
    @Excel(name = "实际出/人库量", width = 15)
    private BigDecimal actualQuantity;

    @ApiModelProperty("出入库备注")
    @Excel(name = "出入库备注", width = 15)
    private String remark;

    @ApiModelProperty("出入库时间")
    @Excel(name = "出入库时间", width = 15)
    private Date operateTime;

    @ApiModelProperty("删除状态 0-未删除 1-已删除")
    private Integer delFlag;

    @ApiModelProperty("商品图片")
    private String albumPics;

    @ApiModelProperty("所属单位名称")
    @Excel(name = "所属单位名称", width = 15)
    private String belongName;

    @ApiModelProperty("业务类型")
    private Integer businessType;

    @ApiModelProperty("商品类型")
    private Integer productType;

}